package com.fimmlps.reronge.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("entry_comment")
public class EntryComment implements Serializable {

  @TableId(value = "entry_comment_id",type = IdType.AUTO)
  private Integer entryCommentId;

  private Integer userId;
  private Integer entrySingleId;
  private Integer entryCommentTopId;
  private Integer entryCommentToId;
  private String text;
  private LocalDateTime createTime;
  private String removed;


  public Integer getEntryCommentId() {
    return entryCommentId;
  }

  public void setEntryCommentId(Integer entryCommentId) {
    this.entryCommentId = entryCommentId;
  }


  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }


  public Integer getEntrySingleId() {
    return entrySingleId;
  }

  public void setEntrySingleId(Integer entrySingleId) {
    this.entrySingleId = entrySingleId;
  }


  public Integer getEntryCommentTopId() {
    return entryCommentTopId;
  }

  public void setEntryCommentTopId(Integer entryCommentTopId) {
    this.entryCommentTopId = entryCommentTopId;
  }


  public Integer getEntryCommentToId() {
    return entryCommentToId;
  }

  public void setEntryCommentToId(Integer entryCommentToId) {
    this.entryCommentToId = entryCommentToId;
  }


  public String getText() {
    return text;
  }

  public void setText(String text) {
    this.text = text;
  }


  public LocalDateTime getCreateTime() {
    return createTime;
  }

  public void setCreateTime(LocalDateTime createTime) {
    this.createTime = createTime;
  }


  public String getRemoved() {
    return removed;
  }

  public void setRemoved(String removed) {
    this.removed = removed;
  }

}
